package com.hgkj.cloud.base.service;

import com.hgkj.cloud.base.domain.ExtUsers;
import com.hgkj.cloud.base.dao.ExtUsersMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


@Service
public class ExtUsersService {

    @Autowired
    private ExtUsersMapper extUsersMapper;

    public int deleteByPrimaryKey(Long id) {
        return extUsersMapper.deleteByPrimaryKey(id);
    }

    public int insert(ExtUsers record) {
        return extUsersMapper.insert(record);
    }

    public int insertSelective(ExtUsers record) {
        return extUsersMapper.insertSelective(record);
    }

    public ExtUsers selectByPrimaryKey(Long id) {
        return extUsersMapper.selectByPrimaryKey(id);
    }

    public int updateByPrimaryKeySelective(ExtUsers record) {
        return extUsersMapper.updateByPrimaryKeySelective(record);
    }

    public int updateByPrimaryKey(ExtUsers record) {
        return extUsersMapper.updateByPrimaryKey(record);
    }

    public ExtUsers selectDataByUserUuid(String user_uuid) {
        return extUsersMapper.selectDataByUserUuid(user_uuid);
    }
}
